# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class App(object):

    def __init__(self, appName, appType, appOs, appId=None, androidPkgName=None, iosBundleId=None, description=None, sceneCount=None, createTime=None, updateTime=None):
        """
        :param appId: (Optional) 应用id
        :param appName:  应用名称
        :param appType:  应用类型，可选值 app, pc, wxapp, m
        :param appOs:  应用系统，支持多选多选以逗号分隔, 选择appType是app时可选android,ios 其余为空
        :param androidPkgName: (Optional) android应用的package name（应用是android的时候androidPkgName必须）
        :param iosBundleId: (Optional) ios应用的bundle id（应用是ios的时候iosBundleId必须）
        :param description: (Optional) 应用描述
        :param sceneCount: (Optional) app下关联场景数
        :param createTime: (Optional) 应用创建时间
        :param updateTime: (Optional) 应用更新时间
        """

        self.appId = appId
        self.appName = appName
        self.appType = appType
        self.appOs = appOs
        self.androidPkgName = androidPkgName
        self.iosBundleId = iosBundleId
        self.description = description
        self.sceneCount = sceneCount
        self.createTime = createTime
        self.updateTime = updateTime
